package com.fit.dao.organization;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.fit.entities.Organization;

public interface OrganizationDAO {

	@CommitAfter
	public boolean save(Organization newOrganization);

	@CommitAfter
	public boolean delete(Organization organization);

	@CommitAfter
	public boolean update(Organization organization);

	public List<Organization> findAll();
	
	public Organization findByID(Long id);

	@CommitAfter
	public boolean deleteByID(Long id);
}
